package com.bw.car.service;

import java.util.List;

import com.bw.car.domain.Car;
import com.bw.car.domain.OutIn;
import com.bw.car.vo.CarVO;
import com.github.pagehelper.PageInfo;
/**
 * 
 * @ClassName: CarService 
 * @Description: TODO
 * @author: 34882
 * @date: 2020年12月9日 上午10:44:41
 */
public interface CarService {
     /**
      * 
      * @Title: insert 
      * @Description: TODO
      * @param car
      * @param inTime
      * @return
      * @return: boolean
      */
	boolean insert(Car car, String inTime);
     /**
      * 
      * @Title: selects 
      * @Description: TODO
      * @param car
      * @param pageNum
      * @param pageSize
      * @return
      * @return: List<Car>
      */
	PageInfo<Car> selects(Car car, Integer pageNum, Integer pageSize);
	/**
	 * 
	 * @Title: getCarInfo 
	 * @Description: 根据车牌查询车辆
	 * @param cno
	 * @return
	 * @return: Car
	 */
	Car getCarInfo(String cno);
	
	/**
	 * 
	 * @Title: getMoneyByCid 
	 * @Description: 查询汽车应交费用
	 * @param cid
	 * @return: void
	 */
	int getMoneyByCid(Integer cid);
	/**
	 * 
	 * @Title: outStore 
	 * @Description: TODO
	 * @param id
	 * @return: void
	 */
	void outStore(OutIn outIn);
	
	/**
	 * 
	 * @Title: getReport 
	 * @Description: 报表
	 * @param carVO
	 * @return
	 * @return: List<OutIn>
	 */
	List<OutIn> getReport(CarVO carVO);

}
